package cn.yuanqiao.feignService;

import cn.yuanqiao.common.core.controller.BaseController;
import cn.yuanqiao.common.core.domain.AjaxResult;
import cn.yuanqiao.common.core.domain.BusinessActivity;
import cn.yuanqiao.system.service.ISysOperLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.yuanqiao.system.domain.SysOperLog;

/**
 * @ClassName: AsyncLogService
 * @Description: 类的描述
 * @author: lihuahua
 * @date: 2024/7/8 17:00
 * @Blog: huahuacoco.top
 */

@Service
public class AsyncLogService {

    @Autowired
    private ISysOperLogService operLogService;

    public void saveSysLog(SysOperLog sysOperLog)
    {
        operLogService.insertOperlog(sysOperLog);
    }

    public void saveBusinessBehavior(BusinessActivity businessActivity)
    {
        operLogService.insertA001Businessactivity(businessActivity);
    }
}
